Adds JSON templates for API output for flags, likes and dislikes