Adds JSON interface for creating a sentence