JSON implementation also included