Added functionality to read jsons when given a file descriptor

This feature is in response to an issue raised here: https://github.com/indutny/bud/issues/43
in which someone needed to get a json parsed when content was to be piped ie
  cat <content> | ./program