removing trailing spaces
added JSON API Template