resource huge refactor, remove all json parser, engine only allow binary!