remove unused code
JSON encoder workaround to handle numpy data