handling json conversion and OPTIONS
getting closer to release candidate