Here is a patch for the generator and aggregate functions for jsonb that we didn't manage to get done in time for 9.4. They are all equivalents of the similarly names json functions. Included are
to_jsonb jsonb_build_object jsonb_build_array jsonb_object jsonb_agg jsonb_object_agg
Still to come: documentation.
Adding to the next commitfest.