inserting json formatted answer into answer table