In case that you need to get process status in JSON, you can generate it by awk combined with ps.

ps aux | awk '
BEGIN { ORS = ""; print " [ "}
{ printf "%s{\"user\": \"%s\", \"pid\": \"%s\", \"cpu\": \"%s\"}",
      separator, $1, $2, $3
  separator = ", "
}
END { print " ] " }';