Optimize normalize extras method

I have replaced the two JSON parse statements with just one. Not really
an optimization, but it saves at least one parsing execution.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>