deps: Update parson
package: Replace str_copy with strdup

Also updates substr to 0.1.2.
src: Use strdup rather than str_copy