support Json types in API plus locate template file on classpath