Add JSON as a return type of define() function.