Issues Parsing JSON String and Returning JSON Object in Custom JS Module

You are mapping answers and then in your code you have input.answer from the start.

Just put Array.from(input)