simplified definition parsing for JSON definition