Added json POST parsing