Partial json post implementation using curl (WIP)