changes on input JSON, add some utilities

+ ID and Category (input JSON)