perf(core): add option to turn of error messages and schemas to improve performance.

Signed-off-by: Johny Jose <johny@playlyfe.com>